package com.quan.mall.service;

import com.quan.mall.commons.vo.OmsOrderGoodsVo;
import com.quan.mall.entity.OmsOrderGoods;
import com.quan.commons.core.utils.PageUtils;
import com.quan.commons.core.biz.support.MyBaseService;

import java.util.List;

/**
 * 订单-商品表
 *
 * @author yhaoquan
 * @email yhaoquan@163.com
 * @date 2021-03-09 17:22:38
 */
public interface OmsOrderGoodsService extends MyBaseService<OmsOrderGoods> {

    /**
     * 列表查询
     * @param vo
     * @return
     */
    public List<OmsOrderGoodsVo> queryList(PageUtils pageUtils, OmsOrderGoodsVo vo) ;

    /**
     * 分页查询
     * @param pageUtils
     * @param vo
     * @return
     */
    public PageUtils queryPage(PageUtils pageUtils, OmsOrderGoodsVo vo);

    /**
     * 根据订单号获取订单商品sku数据
     * @param orderSn
     * @return
     */
    List<OmsOrderGoods> getGoodsByOrderSn(String orderSn);
}

